-- CALC_SKY_MEDAL_10802_COST

-- 升级消耗
return function(id)
    local level = SkyRelicFunctionM.getLevel(id);

    local costIndex = level + 1;

    -- 奖励到了勋章就可以就直接是1级。没有消耗
    -- 2. 魂晶×50、古遗迹碎片×1500
    -- 3. 30等级能量晶核、魂晶×100、古遗迹碎片×3000
    -- 4. 60等级能量晶核、奥晶×50、古遗迹碎片×4500
    -- 5. 90等级能量晶核、奥晶×100、古遗迹碎片×6000
    local costList = {[2] = {[1105] = 50, [10000] = 1500},
            [3] = {[1105] = 100, [10000] = 3000, [10700] = 1,},
            [4] = {[1107] = 50, [10000] = 4500, [10701] = 1,},
            [5] = {[1107] = 100, [10000] = 6000, [10702] = 1, },};

    return costList[costIndex] or {};
end